package com.tansuo365.test1.bean.kucunbean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class YongLiangEntity implements Serializable {

    private String xiangmumingcheng; //项目名称

    private String mingchengguige; //物料名称

    private String chukukufang;

    private String lingliaodanwei; //领料单位

    private Integer o_id; //物料类别

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private Date s_btime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private Date s_etime;

}
